package com.bole.feign.reception;

import com.bole.dto.order.TbOrderDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

@FeignClient("bolecar-reception-service")
public interface OrderFeign {
    @PostMapping("/order/saveOrder")
    void saveOrder(@RequestBody TbOrderDto order, @RequestParam("carId") Long carId);






}
